# NAME

thmsg — Touhou dialogue tool

# SYNOPSIS

thmsg | command[option ...] [input [output]]

# DESCRIPTION

The thmsg utility converts dialogue files from and to a human-readable format. The following commands are available:

c[e]version [input [output]]
  Creates a new dialogue file from the input.
d[e]version [input [output]]
  Dumps a dialogue file.
V
  Displays the program version.

The version specifies which dialogue format to use, it is further modified by the presence of the e option. Running the program without a command will list the supported formats.

e
  The e option is used to process ending dialogue, and for the mission.msg file in TH125.

# EXIT STATUS

The thmsg utility exits with 0 on success, 1 on error.

# EXAMPLES

Create a new dialogue file from the input file:

    thmsg c10 input.txt output.msg

Dump the mission descriptions to standard output:

    thmsg de125 mission.msg

# SEE ALSO

Project homepage

# SECURITY CONSIDERATIONS

Invalid data may not be properly handled. Do not dump untrusted dialogue files.